﻿#include "PersonDirector.h"

PersonDirector::PersonDirector(std::shared_ptr<PersonBuilder> pb)
    : m_pb(pb)
{

}

void PersonDirector::CreatePerson()
{
    m_pb->BuildHead();
    m_pb->BuildBody();
    m_pb->BuildArmLeft();
    m_pb->BuildArmRight();
    m_pb->BuildLegLeft();
    m_pb->BuildLegRight();
}
